<?php

abstract class AssociationDAO// implements IAssociationDAO
{

  /**
   *
   * @var IAssociationDefinition
   */
  protected $definition;

  /**
   *
   * @param IAssociationDefinition $def
   * @return void
   */
  public function __construct(IAssociationDefinition $definition)
  {
    $this->definition = $definition;
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#afterSave($client)
   */
  public function afterSave(&$client, $params = null)
  {
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#beforeSave($client)
   */
  public function beforeSave(&$client, $params = null)
  {
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#afterDelete($client)
   */
  public function afterDelete(&$client, $params = null)
  {
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#beforeDelete($client)
   */
  public function beforeDelete(&$client, $params = null)
  {
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#find($clients)
   */
  public function find(&$clients, $params = null)
  {
  }

  /**
   * (non-PHPdoc)
   * @see simplify/kernel/domain/api/IAssociationDAO#getDefinition()
   */
  public function getDefinition()
  {
    return $this->definition;
  }

}

?>